﻿using System;
using System.Collections.Generic;

namespace HintProvider
{
    public sealed class TopologicalSortAlgorithm<TVertex,TEdge>
        where TEdge : IEdge<TVertex>
    {
        private IList<TVertex> vertices = new List<TVertex>();
        private bool allowCyclicGraph = false;
        IVertexListGraph<TVertex, TEdge> g;

        public TopologicalSortAlgorithm(IVertexListGraph<TVertex, TEdge> g)        
        {
            this.g = g;
        }

        public bool GetState()
        {
            return g.GetState();
        }
    }
}
